
	Ext.namespace("panel.widgets.chunks.grid.view");
	
	panel.widgets.chunks.grid.view.emptyText = function(text) {
		
		if( text instanceof Array ) {
			
			var tpl = [];
			
			tpl.push("<ul class='list_type_disc a_left'>");
			
			text.each( function(t) {
				
				tpl.push("<li>", t, "</li>");
				
			});
			
			tpl.push("</ul>");
			
			text = tpl.join("");
			
		}	// if
		
		if( text instanceof Function ) {
			
			text = text();
			
		}	// if
		
		return [
					
			"<div class='s_te b_solid_orange_1 p_20 mbr_5 fnt_size_main a_center c_black x-unselectable mbs_1_1_5_gray'>",
			"<img src='icon/exclamation-32.png'><br>&nbsp;",
			text,
			"</div>"
			
		].join("");
		
	};
